package com.otc.utility;
import javax.servlet.RequestDispatcher;

import com.otc.dbhandler.*;
import com.otc.model.OpinionThatCounts;

//import java.sql.*;
public class Utility {
	public static int getNextVal()throws Exception
	{
		DBHandler dbHandler=new DBHandler();
		dbHandler.getConnection();
		int nextVal=dbHandler.getNextValue();
		dbHandler.closeConnection();
		return nextVal;
	}
}
